package com.my.blog.website.service.impl;

import com.my.blog.website.dao.EggMapper;
import com.my.blog.website.model.TEgg;
import com.my.blog.website.model.TEggBehavior;
import com.my.blog.website.service.IEggService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by lxf on 2020/7/14
 */
@Service
public class IEggServiceImpl implements IEggService {

    @Autowired
    private EggMapper eggMapper;


    @Override
    public Integer insertEggBehavior(String wants, String ip) {
        return eggMapper.insertEggBehavior(wants, ip);
    }

    @Override
    public TEgg queryOneEgg(String input) {
        return eggMapper.queryOneEgg(input);
    }
}
